projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb72c7
)
vf610twr: Drop unneeded 'status' variable
author
Fabio Estevam
<
[email protected]
>
Wed, 5 Jun 2013 11:34:48 +0000
(11:34 +0000)
committer
Stefano Babic
<
[email protected]
>
Thu, 6 Jun 2013 15:52:08 +0000
(17:52 +0200)
No need to use the 'status' variable, so just remove it.
Signed-off-by: Fabio Estevam <
[email protected]
>
Reviewed-by: Otavio Salvador <
[email protected]
>
board/freescale/vf610twr/vf610twr.c
patch
|
blob
|
history
diff --git
a/board/freescale/vf610twr/vf610twr.c
b/board/freescale/vf610twr/vf610twr.c
index 04fa8829c680c4e6682dbb75500b91bcde5ff8b2..f14df8b6e19913a07b16777b3f53b2dd9fb59c1b 100644
(file)
--- a/
board/freescale/vf610twr/vf610twr.c
+++ b/
board/freescale/vf610twr/vf610twr.c
@@
-301,16
+301,13
@@
int board_mmc_init(bd_t *bis)
NEW_PAD_CTRL(VF610_PAD_PTA28__ESDHC1_DAT2, ESDHC_PAD_CTRL),
NEW_PAD_CTRL(VF610_PAD_PTA29__ESDHC1_DAT3, ESDHC_PAD_CTRL),
};
- s32 status = 0;
esdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK);
imx_iomux_v3_setup_multiple_pads(
esdhc1_pads, ARRAY_SIZE(esdhc1_pads));
- status |= fsl_esdhc_initialize(bis, &esdhc_cfg[0]);
-
- return status;
+ return fsl_esdhc_initialize(bis, &esdhc_cfg[0]);
}
#endif